<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

    <title>Saved Searches</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <link href="../../stylesheet.css" type="text/css" rel="stylesheet"/>
<link href="../../page_styles1.css" type="text/css" rel="stylesheet"/>

  


<link href="../../calibreHtmlOutBasicCss.css" type="text/css" rel="stylesheet" />

</head>
<body>

<div class="calibreMeta">
  <div class="calibreMetaTitle">
  
  
    
    <h1>
      <a href="../../../index.html">Sigil User Guide
</a>
    </h1>
    
    
  
  </div>
  <div class="calibreMetaAuthor">
    0.7.2

  </div>
</div>

<div class="calibreMain">

  <div class="calibreEbookContent">
    
      <div class="calibreEbNavTop">
        
          <a href="find_replace.html" class="calibreAPrev">previous page</a>
        

        
          <a href="clips.html" class="calibreANext"> next page</a>
        
      </div>
    

    
  <h2 id="search_editor" class="calibre5">Saved Searches</h2>

  <p class="h2subheading">— Saved Searches for Find &amp; Replace —</p>

  <p class="calibre1">The Saved Searches dialog allows you to save and edit all your common Find &amp; Replace searches. You can also use it to run your searches.</p>

  <p class="calibre1">To open Saved Searches, select the menu item <span class="shortcut">Tools→Saved Searches</span> or its keyboard shortcut:</p>

  <div class="image"><img alt="saved-searches-main" src="../Images/saved-searches-main.png" class="calibre7"/></div>

  <div class="tip">
    <p class="tiptext">All Saved Searches are run using the options and modes set in Find &amp; Replace.</p>
  </div>

  <h3 class="sigilnotintoc">Context Menu Commands</h3>

  <p class="calibre1">Most actions concerning editing searches are accessed using the right-click context menu:</p>

  <div class="image"><img alt="saved-searches-context-menu" src="../Images/saved-searches-context-menu.png" class="calibre7"/></div>

  <p class="calibre1">Select one or more entries then right-click on the selection for the following options:</p>

  <ul class="calibre3">
    <li class="calibre4"><span class="listheading">Add Entry:</span> Add a blank search under the entry you clicked.</li>

    <li class="calibre4"><span class="listheading">Add Group:</span> Add a new group under the entry you clicked.</li>

    <li class="first"><span class="listheading">Edit:</span> Edit or rename the entry (same as double-click).</li>

    <li class="first"><span class="listheading">Cut:</span> Delete one or more entries that can be pasted later.</li>

    <li class="calibre4"><span class="listheading">Copy:</span> Copy one or more entries that can be pasted later.</li>

    <li class="calibre4"><span class="listheading">Paste:</span> Paste any cut/copied entries.</li>

    <li class="first"><span class="listheading">Delete:</span> Delete entries or groups.</li>

    <li class="first"><span class="listheading">Import:</span> Read a list of exported entries from a file into the list.</li>

    <li class="calibre4"><span class="listheading">Reload:</span> Restore the list from the last saved state.</li>

    <li class="first"><span class="listheading">Export:</span> Save selected entries to a file for sharing.</li>

    <li class="calibre4"><span class="listheading">Export All:</span> Save all entries to a file.</li>

    <li class="first"><span class="listheading">Collapse All:</span> Collapse the display of all groups.</li>

    <li class="calibre4"><span class="listheading">Expand All:</span> Expand the display of all groups.</li>
  </ul>

  <h3 class="sigilnotintoc">Running Searches</h3>

  <p class="calibre1">Saved Searches can be used to run your searches as well as manage them.</p>

  <p class="calibre1">All of the Find &amp; Replace actions are available from the Saved Searches window, and you do not need Find &amp; Replace open to use them (although the options set in Find &amp; Replace will be used when you run the search).</p>

  <p class="calibre1">To run a search, just select an entry and click one of the actions. All result messages will be displayed in the window and in Find &amp; Replace.</p>

  <div class="tip">
    <p class="tiptext">Although all searches are done using the modes set in Find &amp; Replace you can hold the <span class="menuitem">Ctrl</span> key down when selecting a search to force it to run temporarily in the Current File.</p>
  </div>

  <h3 class="sigilnotintoc">Group Searches</h3>

  <p class="calibre1">You can actually run a group of searches. Each search will be run sequentially.</p>

  <p class="calibre1">Simply select a group name and then, for example, run <span class="buttonbox">Count All</span>. Or select several non-group entries and run, for example, <span class="buttonbox">Replace All</span>.</p>

  <h3 class="sigilnotintoc">Save</h3>

  <p class="calibre1">To save your entries to disk, click <span class="buttonbox">Save</span>.</p>

  <p class="calibre1">To exit without saving your entries you can just close the window (with the <span class="buttonbox">Close</span> button or the <span class="shortcut">Esc</span> key) and confirm you do not want to save if prompted. You can also use the context menu <span class="shortcut">Reload</span> to reload your entries from disk – which will delete your current entries.</p>

  <p class="calibre1">You can use the <span class="shortcut">Export</span> and <span class="shortcut">Import</span> context menu items to save your searches so that they can be shared with others.</p>

  <div class="tip">
    <p class="tiptext">If you save and are running more than one copy of Sigil, then the other instances of Sigil will automatically reload the newly saved searches to keep all copies in sync.</p>
  </div>

  <h3 class="sigilnotintoc">Filter</h3>

  <p class="calibre1">You can use the filter text box to restrict the list of searches shown to make it easier to find a search.</p>

  <h3 class="sigilnotintoc">Load Search</h3>

  <p class="calibre1">Clicking the button <span class="buttonbox">Load Search</span> will load the search you have selected into the Find &amp; Replace box.</p>

  <p class="calibre1">Loading does not run the search – it is only a way to populate the fields in Find &amp; Replace. You can also just right-click in the Find &amp; Replace text boxes and select a saved search from the context menu to do the same thing.</p>

  <p class="calibre1">You do not need to load a search if you are going to run the search from the Saved Searches dialog.</p>

  <div class="tip">
    <p class="tiptext">You can load a search using just the keyboard by using the shortcut to open Saved Search, typing your search name in the filter box and hitting return (followed by Esc if you want to close the window).</p>
  </div>

  <h3 class="sigilnotintoc">Moving Entries</h3>

  <p class="calibre1">You can move searches or groups around by using the arrow keys or by drag and drop.</p>

  <p class="calibre1">In order to group entries you must first create a group to put them in.</p>

  <h3 class="sigilnotintoc">Using Saved Searches in Find &amp; Replace</h3>

  <h4 class="sigilnotintoc1">Save Searches</h4>

  <p class="calibre1">While in Find &amp; Replace you can save your search by right-clicking in the Find or Replace text boxes and selecting the menu item <span class="shortcut">Save Search.</span></p>

  <h4 class="sigilnotintoc1">Load Searches</h4>

  <p class="calibre1">You can also load saved searches into Find &amp; Replace by right-clicking in the Find or Replace text boxes and selecting the menu item corresponding to your saved search.</p>

  <p class="calibre1">Once you have loaded a search you can change the mode or options before running it.</p>



  </div>

  
  <div class="calibreToc">
    <h2><a href="../../../index.html"> Table of contents</a></h2>
     <div>
  <ul>
    <li>
      <a href="cover_picture.html">Cover</a>
    </li>
    <li>
      <a href="titlepage.html">Title Page</a>
    </li>
    <li>
      <a href="rights.html">Copyright</a>
    </li>
    <li>
      <a href="introduction.html">Introduction</a>
      <ul>
        <li>
          <a href="whats_new.html">What’s New</a>
        </li>
        <li>
          <a href="about_sigil.html">About Sigil</a>
        </li>
        <li>
          <a href="about_epub.html">About EPUB</a>
        </li>
      </ul>
    </li>
    <li>
      <a href="installation.html">Installation</a>
    </li>
    <li>
      <a href="features.html">Features</a>
      <ul>
        <li>
          <a href="user_interface.html">User Interface</a>
        </li>
        <li>
          <a href="preferences.html">Preferences</a>
        </li>
        <li>
          <a href="opening_and_saving_files.html">Opening and Saving Files</a>
        </li>
        <li>
          <a href="book_view.html">Book View</a>
        </li>
        <li>
          <a href="code_view.html">Code View</a>
        </li>
        <li>
          <a href="preview.html">Preview</a>
        </li>
        <li>
          <a href="book_browser.html">Book Browser</a>
        </li>
        <li>
          <a href="metadata.html">Metadata</a>
        </li>
        <li>
          <a href="add_cover.html">Add Cover</a>
        </li>
        <li>
          <a href="table_of_contents.html">Table of Contents</a>
        </li>
        <li>
          <a href="validation.html">Validation</a>
        </li>
        <li>
          <a href="spellcheck.html">Spellcheck</a>
        </li>
        <li>
          <a href="media_files.html">Images, Video, Audio</a>
        </li>
        <li>
          <a href="special_characters.html">Special Characters</a>
        </li>
        <li>
          <a href="splitting_and_merging.html">Splitting and Merging</a>
        </li>
        <li>
          <a href="find_replace.html">Find &amp; Replace</a>
        </li>
        <li>
          <a href="saved_searches.html">Saved Searches</a>
        </li>
        <li>
          <a href="clips.html">Clips</a>
        </li>
        <li>
          <a href="clipboard_history.html">Clipboard History</a>
        </li>
        <li>
          <a href="links.html">Links and IDs</a>
        </li>
        <li>
          <a href="styles.html">Styles</a>
        </li>
        <li>
          <a href="indexes.html">Indexes</a>
        </li>
        <li>
          <a href="reports.html">Reports</a>
        </li>
        <li>
          <a href="external_editors.html">External Editors</a>
        </li>
      </ul>
    </li>
    <li>
      <a href="tutorials.html">Tutorials</a>
      <ul>
        <li>
          <a href="tutorial_getting_started_with_epub.html">Getting Started With EPUB</a>
        </li>
        <li>
          <a href="tutorial_convert_to_html.html">Prepare Your File For Sigil</a>
        </li>
        <li>
          <a href="tutorial_load_file.html">Open Your File With Sigil</a>
        </li>
        <li>
          <a href="tutorial_save.html">Save Your EPUB File</a>
        </li>
        <li>
          <a href="tutorial_metadata.html">Add the Author and Title</a>
        </li>
        <li>
          <a href="tutorial_add_cover.html">Add a Cover Image</a>
        </li>
        <li>
          <a href="tutorial_split.html">Create Files For Each Chapter</a>
        </li>
        <li>
          <a href="tutorial_mark_chapters.html">Identify Your Chapters</a>
        </li>
        <li>
          <a href="tutorial_generate_toc.html">Generate A Table of Contents</a>
        </li>
        <li>
          <a href="tutorial_links.html">Create Links and Notes</a>
        </li>
        <li>
          <a href="tutorial_code_view.html">A Quick Introduction To Code View</a>
        </li>
        <li>
          <a href="tutorial_spelling.html">Check For Spelling Mistakes</a>
        </li>
        <li>
          <a href="tutorial_validate.html">Check For Errors In Your EPUB</a>
        </li>
        <li>
          <a href="tutorial_find_replace.html">Edit With Find &amp; Replace</a>
        </li>
        <li>
          <a href="tutorial_stylesheets.html">Use Stylesheets</a>
        </li>
        <li>
          <a href="tutorial_embed_fonts.html">Include Custom Fonts</a>
        </li>
        <li>
          <a href="tutorial_advanced_find.html">Advanced Find &amp; Replace – Regex</a>
        </li>
        <li>
          <a href="tutorial_regex_reference.html">Regular Expression Reference</a>
        </li>
        <li>
          <a href="tutorial_tips.html">Tips</a>
        </li>
      </ul>
    </li>
    <li>
      <a href="faq.html">FAQ</a>
      <ul>
        <li>
          <a href="faq.html#faq_common_questions">Common Questions</a>
        </li>
        <li>
          <a href="faq.html#faq_questions">Where to Get Help</a>
        </li>
        <li>
          <a href="faq.html#faq_using_sigil">Using Sigil</a>
        </li>
        <li>
          <a href="faq.html#faq_formatting">Formatting and Styles</a>
        </li>
      </ul>
    </li>
    <li>
      <a href="contributing_to_sigil.html">Contributing to Sigil</a>
    </li>
  </ul>
</div>


  </div>
  

  <div class="calibreEbNav">
    
      <a href="find_replace.html" class="calibreAPrev">previous page</a>
    

    <a href="../../../index.html" class="calibreAHome"> start</a>

    
      <a href="clips.html" class="calibreANext"> next page</a>
    
  </div>

</div>

</body>
</html>
